import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    userInfo:{
      loginName:'fsgas',
      id:'ff8080816d060708016d060a1884000f',
      telephone:'',
      name:'',
      orgName:'',
      roleName:''
    }
  },
  mutations: {
    setUserInfo(state, userInfo){
      debugger
      state.userInfo = userInfo
    }
  },
  actions: {},
  modules: {},
  userBean:{}
});
